home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
programming
/
blitzbasic
/
riblitzlibs.lha
/
riblitzlibs
/
reqlib
/
ReqLibTest.asc
< prev
Wrap
Text File
|
1980-01-03
|
2KB
|
37 lines
;#############################
;# Example 1.4 - Req.Library #
;#############################
;
; By Steven Matty
;
; You MUST have the req.library available...
#FRQSHOWINFOB = %1 ;Set to show .info files. Default is not.
#FRQEXTSELECTB = %10 ;Extended select. Default is not.
#FRQCACHINGB = %100 ;Directory caching. Default is not.
#FRQGETFONTSB = %1000 ;Font requester rather than a file requester.
#FRQINFOGADGETB = %10000 ;Hide-info files gadget.
#FRQHIDEWILDSB = %100000 ;DON'T want 'show' and 'hide' string gadgets.
#FRQABSOLUTEXYB = %1000000 ;Use absolute x,y positions rather than centering on mouse.
#FRQCACHEPURGEB = %10000000 ;Purge the cache whenever the directory date stamp changes if this is set.
#FRQNOHALFCACHEB = %100000000 ;Don't cache a directory unless it is completely read in when this is set.
#FRQNOSORTB = %1000000000 ;DON'T want sorted directories.
#FRQNODRAGB = %10000000000 ;DON'T want a drag bar and depth gadgets.
#FRQSAVINGB = %100000000000 ;Are selecting a file to save to.
#FRQLOADINGB = %1000000000000 ;Are selecting a file(s) to load from.
#FRQDIRONLYB = %10000000000000 ;Allow the user to select a directory, rather than a file.
WbToScreen 0
Window 0,0,0,WBWidth,WBHeight,$1000a,"ReqLibrary Test",1,0
ReqOutput 0 ; Set ouput to window 0
ReqFlags #FRQCACHINGB|#FRQINFOGADGETB|#FRQABSOLUTEXYB|#FRQCACHEPURGEB
; Set a few flags
NPrint ReqFileRequest("Select a file....")
ReqFlags #FRQCACHINGB|#FRQINFOGADGETB|#FRQABSOLUTEXYB|#FRQCACHEPURGEB|#FRQDIRONLYB
NPrint ReqFileRequest("Select a directory....")
NPrint "Req Structure located at ",ReqFileLoc
NPrint "THE END!"
MouseWait
End